﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GetUserScraps.ascx.cs"
    Inherits="SocialRede.Controls.GetUserScraps" %>
<table cellpadding="0" cellspacing="1" border="0" width="100%">
    <tr>
        <td colspan="3" align="left">
            <asp:gridview id="GridViewUserScraps" itemstyle-verticalalign="Top" autogeneratecolumns="False"
                gridlines="None" width="100%" showheader="False" runat="server" alternatingrowstyle-backcolor="#A5A5A5"
                cellpadding="4" forecolor="#333333">
                <columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <table align="left" cellpadding="1" cellspacing="2">
                                <tr>
                                    <td>
                                        <a href='<%#getUserHREF(Container.DataItem)%>'>
                                            <img align="middle" src='<%#getSRC(Container.DataItem)%>' border="0" width="50px" /></a>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </table>
                            <div align="justify">
                                <%#DataBinder.Eval(Container.DataItem, "Message")%>
                                <br />
                                <br />
                            </div>
                            <span class="SmallBlackText">Postado em: &nbsp;</span>
                            <asp:Label ID="lblSendDate" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"SendDate")%>'></asp:Label>
                            </span>
                        </ItemTemplate>
                    </asp:TemplateField>
                </columns>
                <rowstyle backcolor="#EFF3FB" />
                <footerstyle backcolor="#507CD1" font-bold="True" forecolor="White" />
                <pagerstyle backcolor="#2461BF" forecolor="White" horizontalalign="Center" />
                <selectedrowstyle backcolor="#D1DDF1" font-bold="True" forecolor="#333333" />
                <headerstyle backcolor="#507CD1" font-bold="True" forecolor="White" />
                <editrowstyle backcolor="#2461BF" />
                <alternatingrowstyle backcolor="White" />
            </asp:gridview>
        </td>
    </tr>
</table>
